@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="customerCompanyForm">

            <h2>基本信息</h2><br>
            <div class="row">
                <div class="col-sm-4 b-r">
                    <#input id="name" name="企业名称 *" underline="true"/>
                    <#input id="shortName" name="企业简称 *" underline="true"/>
                    <#input id="militaryCode" name="军工代码" underline="false"/>
                </div>

                <div class="col-sm-4 b-r">
                    <#input id="unifiedSocialCreditCode" name="统一社会信用代码 *" underline="true"/>
                    <#input id="legalPerson" name="法定代表人 *" underline="true"/>
                    <#input id="mainBusiness" name="主营业务或产品" underline="false"/>
                </div>

                <div class="col-sm-4 b-r">
                    <#selectDict id="corporation" name="所属集团 *" num="info_sources" underline="true"/>
                    <#input id="section" name="所属板块" underline="true"/>
                    <#input id="areaName" name="所属区域 *" underline="true"
                    hidden="areaId" readonly="readonly" clickFun="CustomerCompanyInfoDlg.showAreaSelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="areaTreeDiv" selectTreeId="areaTree"
                    selectStyle="width:244px !important;"/>
                </div>

            </div>
            <hr>
            <h2>业务管理</h2><br>
            <div class="row">
                <div class="col-sm-4 b-r">
                    <#selectDict id="customerTypeCode" name="客户类型 *" num="customer_type" underline="true"/>
                    <#input id="departName" name="所属部门 *" underline="true"
                    hidden="departId" readonly="readonly"
                    clickFun="CustomerCompanyInfoDlg.showDeptSelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="deptTypeTreeDiv" selectTreeId="deptTree"
                    selectStyle="width:244px !important;"/>

                    <#input id="salesmanName" name="所属销售 *" underline="true"
                    hidden="salesmanId" readonly="readonly"
                    clickFun="CustomerCompanyInfoDlg.showSalesmanSelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="salesmanTreeDiv" selectTreeId="salesmanTree"
                    selectStyle="width:244px !important;"/>

                </div>

                <div class="col-sm-4 b-r">
                    <#input id="annualIncome" name="年销售收入规模（万元" underline="true"/>
                    <#input id="customerNum" name="客户数量" underline="true"/>
                    <#input id="annualPurchaseAmount" name="年度采购规模(万元)" underline="true"/>
                    <#input id="providerNum" name="供应商数量" underline="false"/>

                </div>

                <div class="col-sm-4 b-r">
                    <#selectDict id="source" name="信息来源" num="info_source" underline="true"/>
                    <#selectDict id="isCcb" name="是否建行账户" num="yesOrNo" underline="true" />
                    <#selectDict id="isPlanToOpenAccount" name="是否计划开户" num="yesOrNo" underline="true" />
                    <#input id="state" name="当前状态" value="跟进" underline="false"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="CustomerCompanyInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="CustomerCompanyInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/customer/customerCompany/customerCompany_info.js"></script>

@}
